package com.free.compilation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.free.common.core.annotation.Excel;
import com.free.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.extern.java.Log;

import java.util.List;

/**
 * 章节记录对象 zone_compilation_chapter
 *
 * @author free
 * @date 2023-11-17
 */
@Data
public class ZoneCompilationChapter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 合集的id
     */
    @Excel(name = "合集的id")
    private Long compilationId;

    /**
     * 章节名称
     */
    @Excel(name = "章节名称")
    private String chapterName;

    /**
     * 章节类型
     */
    @Excel(name = "章节类型")
    private Long chapterType;
    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 删除标识
     */
    @Excel(name = "删除标识")
    @TableLogic
    private String deleted;

    @TableField(exist = false)
    private List<ZoneCompilationStep> zoneCompilationSteps;
    @TableField(exist = false)
    private List<ZoneCompilationStep> noteList;


}
